<template>
  <div>
    <el-row>
      <el-col :lg="6" :sm="12">
        <el-result icon="success" title="支付成功">
          <template slot="extra">
            <el-button size="medium" type="primary" @click="goBack">
              返回
            </el-button>
          </template>
        </el-result>
      </el-col>
    </el-row>
  </div>
</template>

<script>
  // import wx from 'weixin-jsapi'
  // import { wxPay, payOrder } from '@/api/pay'

  export default {
    props: {},
    data() {
      return {
        dataList: {},
        app: {},
      }
    },
    watch: {},
    mounted() {},
    methods: {
      // 返回
      goBack() {
        this.$emit('showMain', 0)
      },
    },
  }
</script>

<style></style>
